package com.yoga.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YogaMyorderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public YogaMyorderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOidIsNull() {
            addCriterion("oid is null");
            return (Criteria) this;
        }

        public Criteria andOidIsNotNull() {
            addCriterion("oid is not null");
            return (Criteria) this;
        }

        public Criteria andOidEqualTo(String value) {
            addCriterion("oid =", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotEqualTo(String value) {
            addCriterion("oid <>", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidGreaterThan(String value) {
            addCriterion("oid >", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidGreaterThanOrEqualTo(String value) {
            addCriterion("oid >=", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidLessThan(String value) {
            addCriterion("oid <", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidLessThanOrEqualTo(String value) {
            addCriterion("oid <=", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidLike(String value) {
            addCriterion("oid like", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotLike(String value) {
            addCriterion("oid not like", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidIn(List<String> values) {
            addCriterion("oid in", values, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotIn(List<String> values) {
            addCriterion("oid not in", values, "oid");
            return (Criteria) this;
        }

        public Criteria andOidBetween(String value1, String value2) {
            addCriterion("oid between", value1, value2, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotBetween(String value1, String value2) {
            addCriterion("oid not between", value1, value2, "oid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidIsNull() {
            addCriterion("paymentuid is null");
            return (Criteria) this;
        }

        public Criteria andPaymentuidIsNotNull() {
            addCriterion("paymentuid is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentuidEqualTo(String value) {
            addCriterion("paymentuid =", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidNotEqualTo(String value) {
            addCriterion("paymentuid <>", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidGreaterThan(String value) {
            addCriterion("paymentuid >", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidGreaterThanOrEqualTo(String value) {
            addCriterion("paymentuid >=", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidLessThan(String value) {
            addCriterion("paymentuid <", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidLessThanOrEqualTo(String value) {
            addCriterion("paymentuid <=", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidLike(String value) {
            addCriterion("paymentuid like", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidNotLike(String value) {
            addCriterion("paymentuid not like", value, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidIn(List<String> values) {
            addCriterion("paymentuid in", values, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidNotIn(List<String> values) {
            addCriterion("paymentuid not in", values, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidBetween(String value1, String value2) {
            addCriterion("paymentuid between", value1, value2, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andPaymentuidNotBetween(String value1, String value2) {
            addCriterion("paymentuid not between", value1, value2, "paymentuid");
            return (Criteria) this;
        }

        public Criteria andGatheruidIsNull() {
            addCriterion("gatheruid is null");
            return (Criteria) this;
        }

        public Criteria andGatheruidIsNotNull() {
            addCriterion("gatheruid is not null");
            return (Criteria) this;
        }

        public Criteria andGatheruidEqualTo(String value) {
            addCriterion("gatheruid =", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidNotEqualTo(String value) {
            addCriterion("gatheruid <>", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidGreaterThan(String value) {
            addCriterion("gatheruid >", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidGreaterThanOrEqualTo(String value) {
            addCriterion("gatheruid >=", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidLessThan(String value) {
            addCriterion("gatheruid <", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidLessThanOrEqualTo(String value) {
            addCriterion("gatheruid <=", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidLike(String value) {
            addCriterion("gatheruid like", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidNotLike(String value) {
            addCriterion("gatheruid not like", value, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidIn(List<String> values) {
            addCriterion("gatheruid in", values, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidNotIn(List<String> values) {
            addCriterion("gatheruid not in", values, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidBetween(String value1, String value2) {
            addCriterion("gatheruid between", value1, value2, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andGatheruidNotBetween(String value1, String value2) {
            addCriterion("gatheruid not between", value1, value2, "gatheruid");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNull() {
            addCriterion("paymoney is null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIsNotNull() {
            addCriterion("paymoney is not null");
            return (Criteria) this;
        }

        public Criteria andPaymoneyEqualTo(BigDecimal value) {
            addCriterion("paymoney =", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotEqualTo(BigDecimal value) {
            addCriterion("paymoney <>", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThan(BigDecimal value) {
            addCriterion("paymoney >", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("paymoney >=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThan(BigDecimal value) {
            addCriterion("paymoney <", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("paymoney <=", value, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyIn(List<BigDecimal> values) {
            addCriterion("paymoney in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotIn(List<BigDecimal> values) {
            addCriterion("paymoney not in", values, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymoney between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andPaymoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymoney not between", value1, value2, "paymoney");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeIsNull() {
            addCriterion("paymenttime is null");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeIsNotNull() {
            addCriterion("paymenttime is not null");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeEqualTo(Date value) {
            addCriterion("paymenttime =", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeNotEqualTo(Date value) {
            addCriterion("paymenttime <>", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeGreaterThan(Date value) {
            addCriterion("paymenttime >", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymenttime >=", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeLessThan(Date value) {
            addCriterion("paymenttime <", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeLessThanOrEqualTo(Date value) {
            addCriterion("paymenttime <=", value, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeIn(List<Date> values) {
            addCriterion("paymenttime in", values, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeNotIn(List<Date> values) {
            addCriterion("paymenttime not in", values, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeBetween(Date value1, Date value2) {
            addCriterion("paymenttime between", value1, value2, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andPaymenttimeNotBetween(Date value1, Date value2) {
            addCriterion("paymenttime not between", value1, value2, "paymenttime");
            return (Criteria) this;
        }

        public Criteria andDealtimeIsNull() {
            addCriterion("dealtime is null");
            return (Criteria) this;
        }

        public Criteria andDealtimeIsNotNull() {
            addCriterion("dealtime is not null");
            return (Criteria) this;
        }

        public Criteria andDealtimeEqualTo(Date value) {
            addCriterion("dealtime =", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeNotEqualTo(Date value) {
            addCriterion("dealtime <>", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeGreaterThan(Date value) {
            addCriterion("dealtime >", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dealtime >=", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeLessThan(Date value) {
            addCriterion("dealtime <", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeLessThanOrEqualTo(Date value) {
            addCriterion("dealtime <=", value, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeIn(List<Date> values) {
            addCriterion("dealtime in", values, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeNotIn(List<Date> values) {
            addCriterion("dealtime not in", values, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeBetween(Date value1, Date value2) {
            addCriterion("dealtime between", value1, value2, "dealtime");
            return (Criteria) this;
        }

        public Criteria andDealtimeNotBetween(Date value1, Date value2) {
            addCriterion("dealtime not between", value1, value2, "dealtime");
            return (Criteria) this;
        }

        public Criteria andUrlidIsNull() {
            addCriterion("urlid is null");
            return (Criteria) this;
        }

        public Criteria andUrlidIsNotNull() {
            addCriterion("urlid is not null");
            return (Criteria) this;
        }

        public Criteria andUrlidEqualTo(Integer value) {
            addCriterion("urlid =", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidNotEqualTo(Integer value) {
            addCriterion("urlid <>", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidGreaterThan(Integer value) {
            addCriterion("urlid >", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidGreaterThanOrEqualTo(Integer value) {
            addCriterion("urlid >=", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidLessThan(Integer value) {
            addCriterion("urlid <", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidLessThanOrEqualTo(Integer value) {
            addCriterion("urlid <=", value, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidIn(List<Integer> values) {
            addCriterion("urlid in", values, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidNotIn(List<Integer> values) {
            addCriterion("urlid not in", values, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidBetween(Integer value1, Integer value2) {
            addCriterion("urlid between", value1, value2, "urlid");
            return (Criteria) this;
        }

        public Criteria andUrlidNotBetween(Integer value1, Integer value2) {
            addCriterion("urlid not between", value1, value2, "urlid");
            return (Criteria) this;
        }

        public Criteria andTradingkeyIsNull() {
            addCriterion("tradingkey is null");
            return (Criteria) this;
        }

        public Criteria andTradingkeyIsNotNull() {
            addCriterion("tradingkey is not null");
            return (Criteria) this;
        }

        public Criteria andTradingkeyEqualTo(String value) {
            addCriterion("tradingkey =", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyNotEqualTo(String value) {
            addCriterion("tradingkey <>", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyGreaterThan(String value) {
            addCriterion("tradingkey >", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyGreaterThanOrEqualTo(String value) {
            addCriterion("tradingkey >=", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyLessThan(String value) {
            addCriterion("tradingkey <", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyLessThanOrEqualTo(String value) {
            addCriterion("tradingkey <=", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyLike(String value) {
            addCriterion("tradingkey like", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyNotLike(String value) {
            addCriterion("tradingkey not like", value, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyIn(List<String> values) {
            addCriterion("tradingkey in", values, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyNotIn(List<String> values) {
            addCriterion("tradingkey not in", values, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyBetween(String value1, String value2) {
            addCriterion("tradingkey between", value1, value2, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andTradingkeyNotBetween(String value1, String value2) {
            addCriterion("tradingkey not between", value1, value2, "tradingkey");
            return (Criteria) this;
        }

        public Criteria andStatesIsNull() {
            addCriterion("states is null");
            return (Criteria) this;
        }

        public Criteria andStatesIsNotNull() {
            addCriterion("states is not null");
            return (Criteria) this;
        }

        public Criteria andStatesEqualTo(Integer value) {
            addCriterion("states =", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesNotEqualTo(Integer value) {
            addCriterion("states <>", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesGreaterThan(Integer value) {
            addCriterion("states >", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesGreaterThanOrEqualTo(Integer value) {
            addCriterion("states >=", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesLessThan(Integer value) {
            addCriterion("states <", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesLessThanOrEqualTo(Integer value) {
            addCriterion("states <=", value, "states");
            return (Criteria) this;
        }

        public Criteria andStatesIn(List<Integer> values) {
            addCriterion("states in", values, "states");
            return (Criteria) this;
        }

        public Criteria andStatesNotIn(List<Integer> values) {
            addCriterion("states not in", values, "states");
            return (Criteria) this;
        }

        public Criteria andStatesBetween(Integer value1, Integer value2) {
            addCriterion("states between", value1, value2, "states");
            return (Criteria) this;
        }

        public Criteria andStatesNotBetween(Integer value1, Integer value2) {
            addCriterion("states not between", value1, value2, "states");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNull() {
            addCriterion("isdelete is null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNotNull() {
            addCriterion("isdelete is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteEqualTo(String value) {
            addCriterion("isdelete =", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotEqualTo(String value) {
            addCriterion("isdelete <>", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThan(String value) {
            addCriterion("isdelete >", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThanOrEqualTo(String value) {
            addCriterion("isdelete >=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThan(String value) {
            addCriterion("isdelete <", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThanOrEqualTo(String value) {
            addCriterion("isdelete <=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLike(String value) {
            addCriterion("isdelete like", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotLike(String value) {
            addCriterion("isdelete not like", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIn(List<String> values) {
            addCriterion("isdelete in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotIn(List<String> values) {
            addCriterion("isdelete not in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteBetween(String value1, String value2) {
            addCriterion("isdelete between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotBetween(String value1, String value2) {
            addCriterion("isdelete not between", value1, value2, "isdelete");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}